package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallGoodsProduct;
import com.project.mall.bean.generator.CskaoyanmallGoodsProductExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallGoodsProductMapper {
    long countByExample(CskaoyanmallGoodsProductExample example);

    int deleteByExample(CskaoyanmallGoodsProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallGoodsProduct record);

    int insertSelective(CskaoyanmallGoodsProduct record);

    List<CskaoyanmallGoodsProduct> selectByExample(CskaoyanmallGoodsProductExample example);

    CskaoyanmallGoodsProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallGoodsProduct record, @Param("example") CskaoyanmallGoodsProductExample example);

    int updateByExample(@Param("record") CskaoyanmallGoodsProduct record, @Param("example") CskaoyanmallGoodsProductExample example);

    int updateByPrimaryKeySelective(CskaoyanmallGoodsProduct record);

    int updateByPrimaryKey(CskaoyanmallGoodsProduct record);
}